import Vue from 'vue';

import CustomReportView from './customReportView'

import * as mtracker from '../../../util/Mtrackers';

import http from '@src/util/HttpUtil';

import { Loading } from 'element-ui';

import { isOpenData } from '@src/util/platform';
import platformExtension from '@src/platform/extension'

// eslint-disable-next-line no-duplicate-imports
import { Cascader } from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

Vue.use(Cascader)

mtracker.initializeTalkingData();

Vue.prototype.$http = http;
Vue.prototype.$loading = Loading;
// Vue.$bus = new Bus();

// 微信配置
if (window.wx || isOpenData) {
  platformExtension.sign()
}

let app = {
  render: h => h(CustomReportView)
}

export default app;